<template>
<view class="baseInfor">
  <view class="box">
      <view class="tit">
        <img src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/jibenxinxi@2x.png" />
        基本信息
      </view>
      <view v-if="JSON.stringify(infor) != '{}'" class="ul">
        <view class="ul-left">企业名称:</view>
        <view v-if="infor && infor.name" class="ul-right">{{infor.name}}</view>
      </view>
      <view class="ul">
        <view class="ul-left">综合薪资:</view>
        <view class="ul-right">
          {{ job.monthlySalaryMin || ''}}
          {{job.monthlySalaryMax==null?"元/月":"~"+job.monthlySalaryMax+"元/月"}}
        </view>
      </view>
      <view class="ul">
        <view class="ul-left">工价:</view>
        <view class="ul-right">{{job.wages}}</view>
      </view>
      <view class="ul">
        <view class="ul-left">年龄要求:</view>
        <view class="ul-right">{{job.age}}</view>
      </view>
      <view class="ul">
        <view class="ul-left">温馨提示</view>
        <view class="ul-right"
          >
           <textarea class="textarea" disabled :auto-height="true" v-model="job.tips"></textarea>
 
          
          <!-- {{job.tips?job.tips:''}} -->
          
          </view
        >
      </view>
    </view>
</view>
</template>

<script>
export default {
    props: ["infor",'job'],

}
</script>
<style lang="scss" scoped>
.textarea{
  width: 280px !important;
}
.baseInfor {
  padding: 8px 0 0 0;
  .dif1 {
    .tit {
      font-size: 32rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #808080;
      line-height: 52rpx;
    }
  }

  .box {
    background: #fff;
     padding: 10px 14px 15px;
    &.dif {
      margin: 4px 0 0 0;
    }
  }
  .content {
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #808080;
    padding: 0 0 0 35px;
  }
  .tit {
    display: flex;
    align-items: center;
    font-size: 34rpx;
    font-family: PingFang SC;
    font-weight: bold;
    color: #1a1a1a;
    img {
      width: 28px;
      height: 28px;
      // display: block;
      margin-right: 10px;
    }
  }

  .tit1 {
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #808080;
    margin: 30rpx 0;
  }

  .ul {
    display: flex;
    align-items: center;
     margin-top: 12px;
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 500;
    &-left {
      color: #4d4d4d;
      margin-right: 15px;
      width: 60px;
      font-size: 13px;
    }
    &-right {
      flex: 1;
      color: #808080;
       font-size: 13px;
    }
  }
}
</style>
